package com.txts.road.app.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.txts.road.app.system.model.entity.AppVersionEntity;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.txts.road.app.system.model.query.AppVersionQuery;
import com.txts.road.app.system.model.vo.AppVersionVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 版本更新Mapper接口
 *
 * @author baoyanrong
 * @since 2025-07-17 13:34
 */
@Mapper
public interface AppVersionMapper extends BaseMapper<AppVersionEntity> {

    /**
     * 获取版本更新分页数据
     *
     * @param page        分页对象
     * @param queryParams 查询参数
     * @return {@link Page<AppVersionVO>} 版本更新分页列表
     */
    Page<AppVersionVO> getAppVersionPage(Page<AppVersionVO> page, AppVersionQuery queryParams);

}
